<template>
  <van-card class="card_overall">
    <template #tags>
      <div class="overall_header">
        <!-- <van-checkbox direction="horizontal"></van-checkbox> -->
        <div class="title">单件包邮</div>
        <div class="activity">以下商品已免邮</div>
      </div>
      <slot></slot>
    </template>

    <!-- <template #right>
    <van-button square text="删除" type="danger" class="delete-button" />
  </template> -->
  </van-card>
</template>

<script lang="ts" setup></script>

<script lang="ts">
export default {
  name: "CartCard",
};
</script>

<style lang="scss" scoped>
.card_overall {
  background-color: #fff;
  border-radius: 12px;
  margin: 10px;
  padding: 15px;
  .overall_header {
    display: flex;
    justify-content: space-between;
    .title {
      font-weight: 700;
      font-size: 16px;
      color: #333333;
      margin-left: 8px;
    }
    .activity {
      font-size: 12px;
      color: #333333;
      flex: 1;
      text-align: right;
      margin-right: 8px;
      margin-left: 8px;
    }
  }
}
</style>
